<template>
  <view>
    <!--页面标题头begin-->
    <view class="smart-page-head">
      <view class="smart-page-head-title">rich-text 富文本编辑</view>
    </view>
    <!--页面标题头end-->
    <view>
      <rich-text :nodes="strings"></rich-text>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      strings: '<div style="color:red;">asdfasa<img src="/static/1.jpg"></div>'
    }
  },
  methods: {
  }
}
</script>

<style>

</style>